Package com.cisco.pt.ipc.sim.impl
Class RoutingNetworkImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.impl.RoutingNetworkImpl
- All Implemented Interfaces:
IPCData,RoutingNetwork
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IPAddressprotected List<RoutingEntry>protected IPAddress -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetNetwork(IPAddress network) voidsetRoutingEntries(List<RoutingEntry> routingEntries) voidsetSubnetMask(IPAddress subnetMask) Methods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVector
-
Field Details
-
network
-
subnetMask
-
routingEntries
-
-
Constructor Details
-
RoutingNetworkImpl
public RoutingNetworkImpl()
-
-
Method Details
-
getNetwork
- Specified by:
getNetworkin interfaceRoutingNetwork- Returns:
- IPAddress Returns a IPAddress
-
setNetwork
- Specified by:
setNetworkin interfaceRoutingNetwork- Parameters:
network- Takes in a parameter of network
-
getSubnetMask
- Specified by:
getSubnetMaskin interfaceRoutingNetwork- Returns:
- IPAddress Returns a IPAddress
-
setSubnetMask
- Specified by:
setSubnetMaskin interfaceRoutingNetwork- Parameters:
subnetMask- Takes in a parameter of subnetMask
-
getRoutingEntries
- Specified by:
getRoutingEntriesin interfaceRoutingNetwork- Returns:
- List<RoutingEntry> Returns a List<RoutingEntry>
-
setRoutingEntries
- Specified by:
setRoutingEntriesin interfaceRoutingNetwork- Parameters:
routingEntries- Takes in a parameter of routingEntries
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Specified by:
readin classIPCDataImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-